package com.yun.zf.common.app.model.home;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class FollowMo {

    @NotNull(message = "省级区划代码不能为空")
    @ApiModelProperty(value = "省级区划代码")
    private Long provinceCode;

    @NotNull(message = "城市编码不能为空")
    @ApiModelProperty(value = "城市编码")
    private Long cityCode;
    @ApiModelProperty(value = "省级名称")
    @NotBlank(message = "省级名称不能为空")
    private String provinceName;

    @NotBlank(message = "城市名称不能为空")
    @ApiModelProperty(value = "城市名称")
    private String cityName;

    @NotNull(message = "房源id不能为空")
    @ApiModelProperty(value = "房源id或者小区id")
    private Long horcId;
    @ApiModelProperty(value = "关注类型")
    @NotNull(message = "关注类型不能为空")
    private int followType;
}
